home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Leser 15 / Amiga Plus Leser CD 15.iso / Tools / Development / mmu / Mu680x0Libs / VBCC / Developer / LibSrc / DisassemblerBase.c next >
C/C++ Source or Header  |  2002-03-12  |  371b  |  18 lines

  1. #include <exec/libraries.h>
  2. #include <proto/exec.h>
  3.  
  4. struct Library *DisassemblerBase = NULL;
  5. extern unsigned long _DisassemblerBaseVer;
  6.  
  7. void _INIT_5_DisassemblerBase()
  8. {
  9.   if (!(DisassemblerBase = OpenLibrary("Disassembler.library",_DisassemblerBaseVer)))
  10.     exit(20);
  11. }
  12.  
  13. void _EXIT_5_DisassemblerBase()
  14. {
  15.   if (DisassemblerBase)
  16.     CloseLibrary(DisassemblerBase);
  17. }
  18.